const microSceneRoutes = {
  path: '/micro-scene',
  name: 'MicroScene',
  component: () => import('@/views/MicroScene/index.vue'),
  children: [
    // 科研诚信预览页
    {
      path: '/micro-scene/area/:id',
      name: 'MicroSceneArea',
      component: () => import('@/views/MicroScene/home/index.vue'),
    },
    // 详情页
    {
      path: '/micro-scene/detail/:id',
      name: 'MicroSceneDetail',
      component: () => import('@/views/MicroScene/detail/index.vue'),
      props: (route: any) => ({ microSceneId: route.params.id }),
    },
  ],
};

export default microSceneRoutes;
